﻿
using System;
using System.Drawing;

using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace Beauty
{
	public partial class StoreInfomationListVCtrl : UIViewController
	{
		public StoreInfomationListVCtrl () : base ("StoreInfomationListVCtrl", null)
		{
		}

		public override void DidReceiveMemoryWarning ()
		{
			// Releases the view if it doesn't have a superview.
			base.DidReceiveMemoryWarning ();
			
			// Release any cached data, images, etc that aren't in use.
		}

		public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();

			UIScrollView scrollView = new UIScrollView (new  RectangleF (0, 0, View.Frame.Width, View.Frame.Height));
			View.Add (scrollView);

			StoreInfomationAddUpdate addupdate = new StoreInfomationAddUpdate ();
			addupdate.Frame = new RectangleF (0, 0, 1020, 500);
			scrollView.ContentSize = new SizeF (View.Frame.Width,addupdate.Frame.Height);	
			scrollView.AddSubview (addupdate);

			View.AddSubview (scrollView);
			
			// Perform any additional setup after loading the view, typically from a nib.
		}
	}
}

